package com.grom.dao;

import java.util.List;

import com.grom.po.Brand;
import com.grom.po.BrandVisitHistory;
import com.grom.po.ContactInfo;

public interface BrandDao {
	BrandDao instance = new BrandDaoImpl();

	List<Brand> getAllBrands();
	
	List<Brand> selectByCondition(String sql);
	
	Brand getBrandById(String ID);
	
	void add(Brand brand, List<ContactInfo> conList, List<BrandVisitHistory> historyList);
	
	void update(Brand brand, List<ContactInfo> conList, List<BrandVisitHistory> historyList);
	
	void delete(Brand brand);
}
